package com.yu.waterstation.modules.app.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel("送水日志")
@Data
@TableName("task_log")
public class TaskLog implements Serializable {
	private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;
    private Integer addressId;
    @ApiModelProperty("eg: 二区15舍")
    private String dorm;
    @ApiModelProperty("eg: 309")
    private String room;
    @ApiModelProperty("水票价格")
    private Integer waterPrice;
    @ApiModelProperty("送出水桶(基本都是1 0则没有送出水桶)")
    private Integer bucketNum;
    @ApiModelProperty("收回的空桶")
    private Integer receiveEmptyBucketNum;
    private String publisher;
    private Integer workerId;
    @ApiModelProperty("送水人姓名")
    private String workerName;
    @ApiModelProperty("时间戳 eg: 10月24日 22:22")
    @JsonFormat(pattern = "MM月dd日 hh:mm")
    private Date timestamp;

}
